package com.bestescortbedsystem.entity;

import java.util.ArrayList;
import java.util.List;

public class SesBedTypeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public SesBedTypeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBedtypeidIsNull() {
            addCriterion("bedtypeId is null");
            return (Criteria) this;
        }

        public Criteria andBedtypeidIsNotNull() {
            addCriterion("bedtypeId is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypeidEqualTo(Long value) {
            addCriterion("bedtypeId =", value, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidNotEqualTo(Long value) {
            addCriterion("bedtypeId <>", value, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidGreaterThan(Long value) {
            addCriterion("bedtypeId >", value, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidGreaterThanOrEqualTo(Long value) {
            addCriterion("bedtypeId >=", value, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidLessThan(Long value) {
            addCriterion("bedtypeId <", value, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidLessThanOrEqualTo(Long value) {
            addCriterion("bedtypeId <=", value, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidIn(List<Long> values) {
            addCriterion("bedtypeId in", values, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidNotIn(List<Long> values) {
            addCriterion("bedtypeId not in", values, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidBetween(Long value1, Long value2) {
            addCriterion("bedtypeId between", value1, value2, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypeidNotBetween(Long value1, Long value2) {
            addCriterion("bedtypeId not between", value1, value2, "bedtypeid");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelIsNull() {
            addCriterion("bedtypeModel is null");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelIsNotNull() {
            addCriterion("bedtypeModel is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelEqualTo(String value) {
            addCriterion("bedtypeModel =", value, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelNotEqualTo(String value) {
            addCriterion("bedtypeModel <>", value, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelGreaterThan(String value) {
            addCriterion("bedtypeModel >", value, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelGreaterThanOrEqualTo(String value) {
            addCriterion("bedtypeModel >=", value, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelLessThan(String value) {
            addCriterion("bedtypeModel <", value, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelLessThanOrEqualTo(String value) {
            addCriterion("bedtypeModel <=", value, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelLike(String value) {
            addCriterion("bedtypeModel like", value, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelNotLike(String value) {
            addCriterion("bedtypeModel not like", value, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelIn(List<String> values) {
            addCriterion("bedtypeModel in", values, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelNotIn(List<String> values) {
            addCriterion("bedtypeModel not in", values, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelBetween(String value1, String value2) {
            addCriterion("bedtypeModel between", value1, value2, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypemodelNotBetween(String value1, String value2) {
            addCriterion("bedtypeModel not between", value1, value2, "bedtypemodel");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressIsNull() {
            addCriterion("bedtypeAddress is null");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressIsNotNull() {
            addCriterion("bedtypeAddress is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressEqualTo(String value) {
            addCriterion("bedtypeAddress =", value, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressNotEqualTo(String value) {
            addCriterion("bedtypeAddress <>", value, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressGreaterThan(String value) {
            addCriterion("bedtypeAddress >", value, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressGreaterThanOrEqualTo(String value) {
            addCriterion("bedtypeAddress >=", value, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressLessThan(String value) {
            addCriterion("bedtypeAddress <", value, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressLessThanOrEqualTo(String value) {
            addCriterion("bedtypeAddress <=", value, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressLike(String value) {
            addCriterion("bedtypeAddress like", value, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressNotLike(String value) {
            addCriterion("bedtypeAddress not like", value, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressIn(List<String> values) {
            addCriterion("bedtypeAddress in", values, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressNotIn(List<String> values) {
            addCriterion("bedtypeAddress not in", values, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressBetween(String value1, String value2) {
            addCriterion("bedtypeAddress between", value1, value2, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypeaddressNotBetween(String value1, String value2) {
            addCriterion("bedtypeAddress not between", value1, value2, "bedtypeaddress");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneIsNull() {
            addCriterion("bedtypePhone is null");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneIsNotNull() {
            addCriterion("bedtypePhone is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneEqualTo(String value) {
            addCriterion("bedtypePhone =", value, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneNotEqualTo(String value) {
            addCriterion("bedtypePhone <>", value, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneGreaterThan(String value) {
            addCriterion("bedtypePhone >", value, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneGreaterThanOrEqualTo(String value) {
            addCriterion("bedtypePhone >=", value, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneLessThan(String value) {
            addCriterion("bedtypePhone <", value, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneLessThanOrEqualTo(String value) {
            addCriterion("bedtypePhone <=", value, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneLike(String value) {
            addCriterion("bedtypePhone like", value, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneNotLike(String value) {
            addCriterion("bedtypePhone not like", value, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneIn(List<String> values) {
            addCriterion("bedtypePhone in", values, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneNotIn(List<String> values) {
            addCriterion("bedtypePhone not in", values, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneBetween(String value1, String value2) {
            addCriterion("bedtypePhone between", value1, value2, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypephoneNotBetween(String value1, String value2) {
            addCriterion("bedtypePhone not between", value1, value2, "bedtypephone");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsIsNull() {
            addCriterion("bedtypeContacts is null");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsIsNotNull() {
            addCriterion("bedtypeContacts is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsEqualTo(String value) {
            addCriterion("bedtypeContacts =", value, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsNotEqualTo(String value) {
            addCriterion("bedtypeContacts <>", value, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsGreaterThan(String value) {
            addCriterion("bedtypeContacts >", value, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsGreaterThanOrEqualTo(String value) {
            addCriterion("bedtypeContacts >=", value, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsLessThan(String value) {
            addCriterion("bedtypeContacts <", value, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsLessThanOrEqualTo(String value) {
            addCriterion("bedtypeContacts <=", value, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsLike(String value) {
            addCriterion("bedtypeContacts like", value, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsNotLike(String value) {
            addCriterion("bedtypeContacts not like", value, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsIn(List<String> values) {
            addCriterion("bedtypeContacts in", values, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsNotIn(List<String> values) {
            addCriterion("bedtypeContacts not in", values, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsBetween(String value1, String value2) {
            addCriterion("bedtypeContacts between", value1, value2, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypecontactsNotBetween(String value1, String value2) {
            addCriterion("bedtypeContacts not between", value1, value2, "bedtypecontacts");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeIsNull() {
            addCriterion("bedtypeTime is null");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeIsNotNull() {
            addCriterion("bedtypeTime is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeEqualTo(String value) {
            addCriterion("bedtypeTime =", value, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeNotEqualTo(String value) {
            addCriterion("bedtypeTime <>", value, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeGreaterThan(String value) {
            addCriterion("bedtypeTime >", value, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeGreaterThanOrEqualTo(String value) {
            addCriterion("bedtypeTime >=", value, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeLessThan(String value) {
            addCriterion("bedtypeTime <", value, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeLessThanOrEqualTo(String value) {
            addCriterion("bedtypeTime <=", value, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeLike(String value) {
            addCriterion("bedtypeTime like", value, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeNotLike(String value) {
            addCriterion("bedtypeTime not like", value, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeIn(List<String> values) {
            addCriterion("bedtypeTime in", values, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeNotIn(List<String> values) {
            addCriterion("bedtypeTime not in", values, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeBetween(String value1, String value2) {
            addCriterion("bedtypeTime between", value1, value2, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypetimeNotBetween(String value1, String value2) {
            addCriterion("bedtypeTime not between", value1, value2, "bedtypetime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusIsNull() {
            addCriterion("bedtypeStatus is null");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusIsNotNull() {
            addCriterion("bedtypeStatus is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusEqualTo(Integer value) {
            addCriterion("bedtypeStatus =", value, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusNotEqualTo(Integer value) {
            addCriterion("bedtypeStatus <>", value, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusGreaterThan(Integer value) {
            addCriterion("bedtypeStatus >", value, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("bedtypeStatus >=", value, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusLessThan(Integer value) {
            addCriterion("bedtypeStatus <", value, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusLessThanOrEqualTo(Integer value) {
            addCriterion("bedtypeStatus <=", value, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusIn(List<Integer> values) {
            addCriterion("bedtypeStatus in", values, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusNotIn(List<Integer> values) {
            addCriterion("bedtypeStatus not in", values, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusBetween(Integer value1, Integer value2) {
            addCriterion("bedtypeStatus between", value1, value2, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypestatusNotBetween(Integer value1, Integer value2) {
            addCriterion("bedtypeStatus not between", value1, value2, "bedtypestatus");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerIsNull() {
            addCriterion("bedtypeBatteryPower is null");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerIsNotNull() {
            addCriterion("bedtypeBatteryPower is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerEqualTo(String value) {
            addCriterion("bedtypeBatteryPower =", value, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerNotEqualTo(String value) {
            addCriterion("bedtypeBatteryPower <>", value, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerGreaterThan(String value) {
            addCriterion("bedtypeBatteryPower >", value, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerGreaterThanOrEqualTo(String value) {
            addCriterion("bedtypeBatteryPower >=", value, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerLessThan(String value) {
            addCriterion("bedtypeBatteryPower <", value, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerLessThanOrEqualTo(String value) {
            addCriterion("bedtypeBatteryPower <=", value, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerLike(String value) {
            addCriterion("bedtypeBatteryPower like", value, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerNotLike(String value) {
            addCriterion("bedtypeBatteryPower not like", value, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerIn(List<String> values) {
            addCriterion("bedtypeBatteryPower in", values, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerNotIn(List<String> values) {
            addCriterion("bedtypeBatteryPower not in", values, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerBetween(String value1, String value2) {
            addCriterion("bedtypeBatteryPower between", value1, value2, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypebatterypowerNotBetween(String value1, String value2) {
            addCriterion("bedtypeBatteryPower not between", value1, value2, "bedtypebatterypower");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeIsNull() {
            addCriterion("bedtypeCode is null");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeIsNotNull() {
            addCriterion("bedtypeCode is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeEqualTo(String value) {
            addCriterion("bedtypeCode =", value, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeNotEqualTo(String value) {
            addCriterion("bedtypeCode <>", value, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeGreaterThan(String value) {
            addCriterion("bedtypeCode >", value, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeGreaterThanOrEqualTo(String value) {
            addCriterion("bedtypeCode >=", value, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeLessThan(String value) {
            addCriterion("bedtypeCode <", value, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeLessThanOrEqualTo(String value) {
            addCriterion("bedtypeCode <=", value, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeLike(String value) {
            addCriterion("bedtypeCode like", value, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeNotLike(String value) {
            addCriterion("bedtypeCode not like", value, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeIn(List<String> values) {
            addCriterion("bedtypeCode in", values, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeNotIn(List<String> values) {
            addCriterion("bedtypeCode not in", values, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeBetween(String value1, String value2) {
            addCriterion("bedtypeCode between", value1, value2, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypecodeNotBetween(String value1, String value2) {
            addCriterion("bedtypeCode not between", value1, value2, "bedtypecode");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeIsNull() {
            addCriterion("bedtypeStatusTime is null");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeIsNotNull() {
            addCriterion("bedtypeStatusTime is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeEqualTo(String value) {
            addCriterion("bedtypeStatusTime =", value, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeNotEqualTo(String value) {
            addCriterion("bedtypeStatusTime <>", value, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeGreaterThan(String value) {
            addCriterion("bedtypeStatusTime >", value, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeGreaterThanOrEqualTo(String value) {
            addCriterion("bedtypeStatusTime >=", value, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeLessThan(String value) {
            addCriterion("bedtypeStatusTime <", value, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeLessThanOrEqualTo(String value) {
            addCriterion("bedtypeStatusTime <=", value, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeLike(String value) {
            addCriterion("bedtypeStatusTime like", value, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeNotLike(String value) {
            addCriterion("bedtypeStatusTime not like", value, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeIn(List<String> values) {
            addCriterion("bedtypeStatusTime in", values, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeNotIn(List<String> values) {
            addCriterion("bedtypeStatusTime not in", values, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeBetween(String value1, String value2) {
            addCriterion("bedtypeStatusTime between", value1, value2, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypestatustimeNotBetween(String value1, String value2) {
            addCriterion("bedtypeStatusTime not between", value1, value2, "bedtypestatustime");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryIsNull() {
            addCriterion("bedtypeInventory is null");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryIsNotNull() {
            addCriterion("bedtypeInventory is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryEqualTo(Long value) {
            addCriterion("bedtypeInventory =", value, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryNotEqualTo(Long value) {
            addCriterion("bedtypeInventory <>", value, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryGreaterThan(Long value) {
            addCriterion("bedtypeInventory >", value, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryGreaterThanOrEqualTo(Long value) {
            addCriterion("bedtypeInventory >=", value, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryLessThan(Long value) {
            addCriterion("bedtypeInventory <", value, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryLessThanOrEqualTo(Long value) {
            addCriterion("bedtypeInventory <=", value, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryIn(List<Long> values) {
            addCriterion("bedtypeInventory in", values, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryNotIn(List<Long> values) {
            addCriterion("bedtypeInventory not in", values, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryBetween(Long value1, Long value2) {
            addCriterion("bedtypeInventory between", value1, value2, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypeinventoryNotBetween(Long value1, Long value2) {
            addCriterion("bedtypeInventory not between", value1, value2, "bedtypeinventory");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceIsNull() {
            addCriterion("bedtypePrice is null");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceIsNotNull() {
            addCriterion("bedtypePrice is not null");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceEqualTo(Float value) {
            addCriterion("bedtypePrice =", value, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceNotEqualTo(Float value) {
            addCriterion("bedtypePrice <>", value, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceGreaterThan(Float value) {
            addCriterion("bedtypePrice >", value, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceGreaterThanOrEqualTo(Float value) {
            addCriterion("bedtypePrice >=", value, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceLessThan(Float value) {
            addCriterion("bedtypePrice <", value, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceLessThanOrEqualTo(Float value) {
            addCriterion("bedtypePrice <=", value, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceIn(List<Float> values) {
            addCriterion("bedtypePrice in", values, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceNotIn(List<Float> values) {
            addCriterion("bedtypePrice not in", values, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceBetween(Float value1, Float value2) {
            addCriterion("bedtypePrice between", value1, value2, "bedtypeprice");
            return (Criteria) this;
        }

        public Criteria andBedtypepriceNotBetween(Float value1, Float value2) {
            addCriterion("bedtypePrice not between", value1, value2, "bedtypeprice");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}